package com.lsq.asyndemo.event;

import com.lsq.asyndemo.pojo.Order;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

@Data
public class OrderEvent extends ApplicationEvent {

    private Order order;

    public OrderEvent(Object source, Order order) {
        super(source);
        this.order = order;
    }
}
